package com.zongxingh.falcon.logger.reader.impl;

import com.zongxingh.falcon.logger.common.SimpleLog;
import com.zongxingh.falcon.logger.config.LoggerProperties;
import com.zongxingh.falcon.logger.reader.AbstractLogReader;
import com.zongxingh.falcon.mq.config.MqProperties;

/**
 * Introduction:  <简介>
 * Package Name:  com.zongxingh.falcon.logger.reader
 * Project Name:  falcon-logger
 * Author:  zongxingh
 * Email： zongxingh@163.com
 * Tel: 157*****778
 * Create Time:  2020/10/29 10:28
 */
public class TraceLogReader extends AbstractLogReader {

    public TraceLogReader(){}

    public TraceLogReader(MqProperties mqProperties,LoggerProperties loggerProperties) {
        super(mqProperties,loggerProperties);
    }

    /**
     * 实现该抽象方法，针对日志的处理逻辑
     * @param simpleLog
     */
    @Override
    public void readerLog(SimpleLog simpleLog) {
        System.out.println(simpleLog.toString());
    }


}
